package ooday02;

public class Doctor extends person {
    String title;
   Doctor (String name,int age,String address,String title){
       super (name, age, address);
       this.title=title;
   }
    void doctor() {
        System.out.println(name + "正在做手术");
    }

}
